<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script type="module">
        import { Observer } from './observer.js'
        let obj = new Observer({
            name:'小满',
            age:18,
            demo: {
                a: "小米",
                b: 12
            }
        })
        console.log(obj.value.demo.a);
        obj.value.demo.b = 123

    </script>
</body>
</html>